import Component from "./component";
const React = {
  createElement,
  Component
}
function createElement(type, attrs, ...children) {
  return {
    tag: type,
    attrs,
    children,
    key: (attrs && attrs.key) || null
  }
}
export default React;